package com.xmg.server.order.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.xmg.server.order.mapper.OrderProductMapper;
import com.xmg.shop.api.order.domain.OrderProduct;
import com.xmg.shop.api.order.service.IOrderProductService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by Administrator on 2017/11/18.
 */
@Service
public class OrderProductServiceImpl implements IOrderProductService {
    @Autowired
    private OrderProductMapper orderProductMapper;
    @Override
    public OrderProduct selectByPrimaryKey(Long id) {
        OrderProduct orderProduct = orderProductMapper.selectByPrimaryKey(id);
        return orderProduct;
    }

}
